package cn.huiyunche.admin.service;

import cn.huiyunche.base.service.model.DVcstyleOil;
import cn.huiyunche.base.service.vo.DVcstyleOilVo;
import cn.huiyunche.base.service.vo.PageVo;

import java.util.Map;

/**
 * Created by jxy on 17/1/5.
 */
public interface DVcstyleOilService {

    /**
     * 获取车型油耗表列表
     * @return
     */
    public Map<String, Object> getListByPage(PageVo page,DVcstyleOilVo dVcstyleOilVo);

    /**
     * 添加车型油耗表数据
     * @param dVcstyleOil
     */
    public void addDVcstyleOil(DVcstyleOil dVcstyleOil);

    /**
     * 修改车型油耗表数据
     * @param dVcstyleOil
     */
    public void modifyDVcstyleOil(DVcstyleOil dVcstyleOil);

    /**
     * 校验车型编码是否已经存在
     * @param code
     * @return
     */
    public boolean valideCodeExist(String code);

}
